package user.repository;

import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface ConsultationRepository<Consultation> extends JpaRepository<Consultation, Long> {
    List<Consultation> findByUserId(Long userId);
}